import request from '@/common/js/request.js';

// 获取产品列表
export const getProductList = (data) => {
	return request.post('/api/depot/products', data);
};

//获取产品分类
export const getProductType = (data) => {
	return request.post('/api/user/product_types', data);
};

//添加产品和产品工序关联
export const add_product_process_rela = (data) => {
	return request.post('/api/user/add_product_process_rela', data);
};

//获取产品和产品工序关联
export const get_product_process_rela = (data) => {
	return request.post('/api/user/get_product_process_rela', data);
};
